//
//  LyricManager.h
//  作业
//
//  Created by qianfeng on 15/12/8.
//  Copyright (c) 2015年 qianfeng. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^ParseBlock)(NSArray * lyricArr);

@interface LyricManager : NSObject


//构造方法
-(id)initWithPath:(NSString *)path;

+(void)readAndParseFile:(NSString *)path andLyric:(ParseBlock)block;

//增加歌词
-(void)addLrcWithTime:(NSString *)time andLrc:(NSString *)lrc;

//查询歌词
-(NSString *)searchLrc:(NSString *)time;

-(void)print;

@end
